package NGUYENDUCVIETPRACTICELV2;

public class BATGIAC_Controller {
	private BATGIAC m_obj;
	private BATGIAC_Model m_objModel;
	
	public BATGIAC_Controller(BATGIAC obj){
		m_obj = obj;
		m_objModel = new BATGIAC_Model();
	}
	
	public double PerA(int Opt){
		if(Opt == 1 )
			return m_objModel.Chuvi(m_obj);
		else
			return m_objModel.Dientich(m_obj);
	}

}
